﻿
namespace System.Windows.Forms
{
    public static class FormsExtentions
    {
        // Methods
        [Diagnostics.DebuggerStepThrough]
        public static void ApplicationRun(this Form form)
        {
            Application.Run(form);
        }

        [Diagnostics.DebuggerStepThrough]
        public static IAsyncResult ApplicationRunAsync(this Form form,
            AsyncCallback Callback = null, object obj = null)
        {
            return new Action<Form>(Application.Run).BeginInvoke(form, Callback, obj);
        }
    }



}
